home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 4 / The Arsenal Files 4 (Arsenal Computer).ISO / casm / au116-as.exe / UTIL / ACT_LOG.CPP next >
C/C++ Source or Header  |  1994-12-05  |  550b  |  24 lines

  1. #include "..\au.hpp"
  2.  
  3. /*░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░*/
  4. void act_log_printf(AU *au, char *format, ...)
  5. {
  6.     va_list plist;
  7.     char string[200];
  8.  
  9.     va_start(plist, format);
  10.     vsprintf(string, format, plist);
  11.     va_end(plist);
  12.  
  13.     au->log.write(au, au->action_log, string);
  14. /*
  15.     if (!au->action_handle.is_open() && au->action_log[0] != '\0')
  16.     {
  17.         au->action_handle.open(au, au->action_log, O_CREAT|O_WRONLY|O_TEXT|O_APPEND);
  18.     }
  19.     au->action_handle.write_raw(string, strlen(string));
  20. */
  21.     return;
  22. }
  23.  
  24.